package com.cuit.dashboard.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cuit.dashboard.common.util.PageUtil;
import com.cuit.dashboard.system.entity.SysNoticeEntity;

import java.util.Map;

/**
 * @program: zuke
 * @description: 系统公告服务层
 * @author: KamTang
 * @create: 2022-04-23 13:28
 **/
public interface SysNoticeService extends IService<SysNoticeEntity> {

    /**
     * 分页查询
     * @param params 传入参数
     * @return PageUtil
     */
    PageUtil queryPage(Map<String, Object> params);

    /**
     * 分页查询
     * @param params
     * @return
     */
    PageUtil queryPageBySql(Map<String, Object> params);

}
